#! /usr/bin/python3
# -*- coding: utf-8 -*-
import pyccjh

IP = "127.0.0.1"
Server = "123.56.105.37"
Port = 6600
ID = "1003"
Password = "111666"
ccjh = pyccjh.pyccjh(Server, Port, IP, ID, Password)
ccjh.Connect()
cmd = input()

while cmd != "stop":
	ccjh.Cmd(cmd)
	try:
		cmd = input()
	except:
		break
ccjh.DisConnect()
